package com.jrx.anytxn.param.mapper.base;

import com.jrx.anytxn.param.entity.TlMergeBillingDetlLog;

public interface TlMergeBillingDetlLogMapper {
    /**
     * 根据主键删除 并账明细流水表
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存并账明细流水表
     * @param record TlMergeBillingDetlLog
     * @return int
     */
    int insert(TlMergeBillingDetlLog record);

    /**
     * 根据字段是否为空保存 并账明细流水表
     * @param record TlMergeBillingDetlLog
     * @return int
     */
    int insertSelective(TlMergeBillingDetlLog record);

    /**
     * 根据主键查询 并账明细流水表
     * @param id Long
     * @return TlMergeBillingDetlLog
     */
    TlMergeBillingDetlLog selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 并账明细流水表
     * @param record TlMergeBillingDetlLog
     * @return int
     */
    int updateByPrimaryKeySelective(TlMergeBillingDetlLog record);

    /**
     * 根据主键更新所有字段 并账明细流水表
     * @param record TlMergeBillingDetlLog
     * @return int
     */
    int updateByPrimaryKey(TlMergeBillingDetlLog record);
}